
package com.lry.compressor;


import com.lry.compressor.util.SevenZUtil;
import com.lry.spi.LoadLevel;


@LoadLevel(name = "sevenz")
public class SevenZCompressor implements Compressor {

    @Override
    public byte[] compress(byte[] bytes) {
        return SevenZUtil.compress(bytes);
    }

    @Override
    public byte[] decompress(byte[] bytes) {
        return SevenZUtil.decompress(bytes);
    }

}
